let app = getApp();
Page({
    data: {
        circle: [],
    },
    onLoad: function (options) {
        let that = this;
        wx.request({
            url: app.globalData.serverUrl + "circle/" + app.globalData.userInfo.id,
            method: "get",
            success: function (res) {
                let data = res.data;
                if (data.status == 200) {
                    that.setData({
                        circle: data.data
                    });
                }
                console.log(that.data.circle);
            }
        })
    },
});
